package com.shangxian.giveithome.entity.report;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Administrator
 * 用户封禁实体
 */
@Data
public class Forbidden {

    @ApiModelProperty("封禁记录id")
    private Long id;

    @ApiModelProperty("用户手机号")
    private Long phone;

    @ApiModelProperty("用户名")
    private String name;

    @ApiModelProperty("微信号")
    private String wechat;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @ApiModelProperty("禁用操作时间")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @ApiModelProperty("禁用/解禁操作时间")
    private Date updateTime;

    @ApiModelProperty("状态1（禁用）2（解禁）")
    private Long state;



}
